/*
 * Copyright (c) 2022, tyustli
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-02-08     tyustli      first implementation
 */

#include <stdio.h>
#include <math.h>

int main(int argc, char **argv)
{

    int num1 = 5;
    int num2 = 3;
    int num3 = 1;

    for (int i = 1; i <= num2; i++)
        num3 = num3 * num1;

    printf("%d\r\n", num3);
    printf("%f\r\n", pow(num1, num2));

    return 0;
}

/******************** end of file **********************/
